@import '../../common/style/var.less';
.stall-list{
  font-size: @font-size-normal;
  margin-top:5px;
  dl{
    width: 100%;
    background: #fff;
    padding:15px 10px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-top: 10px;
  }
  dt{
    &.name{
      height: 30px;
      line-height: 30px;
      p{
        &:nth-of-type(1){
          max-width: 280px;
          height: 30px;
          float: left;
          font-size: @font-size-title;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          font-weight: bold;
        }
        &:nth-of-type(2){
          position: relative;
          top:5px;
          width: 45px;
          height: 20px;
          line-height: 20px;
          float: left;
          margin-left: 5px;
          border-radius: 10px;
          background: @main-bg;
          color: @font-light;
          text-align: center;
          font-size: @font-size-normal;
        }
      }
    }
  }
  dd{
    &.scope{
      height:20px;
      line-height: 20px;
      color:@font-light;
      .scope-scroll{
        width: 260px;
        height: 20px;
        line-height: 20px;
        white-space: nowrap;
        float: left;
      }
      p{
        display: inline-block;
        margin-right: 5px;
        padding:0 8px;
        border-radius: 10px;
        background: @assist-color-a;
      }
      span{
        float: right;
        color: @font-assist-a;
      }
    }
    &.images{
      margin-top:5px;
      height: 100px;
      display: flex;
      justify-content: space-between;
      img{
        flex-grow:1;
        width: 100px;
        height: 100px;
        border-radius: 10px;
        margin-right: 10px;
      }
    }
    &.coupon{
      width: 100%;
      height: 60px;
      margin-top:5px;
      .coupon-scroll{
        white-space: nowrap;
      }
      .item{
        display: inline-block;
        margin-right: 5px;
        width: 100px;
        height: 54px;
        position: relative;
        background: radial-gradient(circle at right top, transparent 5px, @assist-color-b 0) top left / 25px 51% no-repeat,
        radial-gradient(circle at right bottom, transparent 5px, @assist-color-b 0) bottom left /25px 51% no-repeat,
        radial-gradient(circle at left top, transparent 5px, @assist-color-b 0) top right /75px 51% no-repeat,
        radial-gradient(circle at left bottom, transparent 5px, @assist-color-b 0) bottom right /75px 51% no-repeat;
        &::after{
          content: '';
          height: 44px;
          border: 1px dashed #fff;
          position: absolute;
          left: 24px;
          top: 0;
          bottom: 0;
          margin: auto;
        }
        p{
          position: absolute;
          &.type{
            left:0;
            top:50%;
            transform: translateY(-50%);
            display: block;
            width: 25px;
            height: auto;
            line-height: 100%;
            text-align: center;
            white-space: normal;
            box-sizing: border-box;
            font-size: @font-size-normal;
          }
          &.price{
            right: 0;
            top:10px;
            width: 75px;
            height: 20px;
            text-align: center;
          }
          &.brief{
            width: 75px;
            height: 20px;
            bottom: 5px;
            right: 0;
            text-align: left;
            font-size:@font-size-min;
            padding: 0 7px;
            box-sizing: border-box;
            text-overflow: ellipsis;
            overflow: hidden;
            color: @font-assist-b;
          }
        }
      }
    }
  }
}
